package com.formiaomiao.demain.dao;

import com.formiaomiao.demain.model.LikeBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LikeDao {
    //创建点赞
    int InsertLike(LikeBean likeBean);
    //更新点赞状态
    int updateLike(LikeBean likeBean);
    //删除点赞
    int deleteLike(LikeBean likeBean);
    //获取点赞数量
    List<LikeBean> selectLike(String likeid);
    //查看是否有数据
    LikeBean checkLike(@Param("likeid") String likeid, @Param("likerid") Integer likerid);
}
